#include "CLabel.h"
#include "CEdit.h"
#include "CButton.h"
#include "CLoginWin.h"
#include "CRegWin.h"
#include "CMyDb.h"
#include <conio.h>
int main(void)
{
	CMyDb* cmydb = CMyDb::getIntanse();
	CMyDb* cmydb2 = CMyDb::getIntanse();
	char sql[100] = "create table user(username text,pwd text,id text,plane_no text,name text)";
	char sql2[100] = "create table ticket(plane_no text,time text,number text,price text)";
	cmydb->no_result_exec(sql);
	cmydb2->no_result_exec(sql2);
	CLoginWin* loginWin = new CLoginWin(2, 2, 40, 25);
	loginWin->win_show();
	loginWin->win_run();
	return 0;
}